home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEM
/
N-R
/
Photone Prepress 2.04.cpt
/
Photone Prepress™v.2.04D.rsrc
/
PSTx_3_BinComp
< prev
next >
Wrap
Text File
|
1993-03-18
|
3KB
|
220 lines
%© 1990 by CEP, Inc., All Rights Reserved
/ppSetCScreen
{
/cSpot exch def
/cAngle exch def
/cFreq exch def
} def
/ppSetMScreen
{
/mSpot exch def
/mAngle exch def
/mFreq exch def
} def
/ppSetYScreen
{
/ySpot exch def
/yAngle exch def
/yFreq exch def
} def
/ppSetKScreen
{ /kSpot exch def
/kAngle exch def
/kFreq exch def
} def
/box
{ /wid exch def
newpath
0 0 moveto
wid 0 lineto
wid wid lineto
0 wid lineto
closepath
fill
} bind def
/doCMYKPatches
{ /v exch def
/h exch def
gsave
h v translate
%cyan boxes
gsave
1 0 0 0 setcmykcolor
24 box
0 96 translate
24 box
0 24 translate
24 box
0 24 translate
24 box
grestore
%magenta boxes
gsave
0 1 0 0 setcmykcolor
0 48 translate
24 box
0 24 translate
24 box
0 24 translate
24 box
0 48 translate
24 box
grestore
%yellow box
gsave
0 0 1 0 setcmykcolor
24 box
0 24 translate
24 box
0 24 translate
24 box
0 96 translate
24 box
grestore
%black box
gsave
0 0 0 1 setcmykcolor
0 168 translate
24 box
grestore
grestore
} def
/doColorLabel
{ %not meaningful in composite
pop pop pop pop pop pop pop
} def
/doCropMarks
{ .25 sub /bottom exch def
1.25 add /right exch def
1.25 add /top exch def
.25 sub /left exch def
gsave
.24 setlinewidth
0 setgray
%top left
left 18 sub top moveto -24 0 rlineto stroke
left top 18 add moveto 0 24 rlineto stroke
%top right
right top 18 add moveto 0 24 rlineto stroke
right 18 add top moveto 24 0 rlineto stroke
%bottom left
left bottom 18 sub moveto 0 -24 rlineto stroke
left 18 sub bottom moveto -24 0 rlineto stroke
%bottom right
right 18 add bottom moveto 24 0 rlineto stroke
right bottom 18 sub moveto 0 -24 rlineto stroke
grestore
} def
/doCMYKBorder
{ /wt exch def
/blackC exch def
/yellowC exch def
/magentaC exch def
/cyanC exch def
/bottom exch def
/right exch def
/top exch def
/left exch def
gsave
cFreq cAngle {cSpot}
mFreq mAngle {mSpot}
yFreq yAngle {ySpot}
kFreq kAngle {kSpot}
setcolorscreen
wt setlinewidth
cyanC magentaC yellowC blackC setcmykcolor
newpath
left bottom moveto
left top lineto
right top lineto
right bottom lineto
closepath
stroke
grestore
} def
/doText
{
/theStr exch def
/v exch def
/h exch def
gsave
h v moveto
/Courier findfont 10 scalefont setfont
theStr show
grestore
} def
/doRegisterMark
{
/v exch def
/h exch def
gsave
h v translate
0 0 moveto
.24 setlinewidth 0 0 6 0 360 arc stroke
-10 0 moveto
20 0 rlineto
0 -10 moveto
0 20 rlineto
stroke
grestore
} def
/cmykImageProc
{ gsave
/dep exch def
/wid exch def
/reproDep exch def
/reproWid exch def
/v exch def
/h exch def
/negDep dep neg def
/picStr wid string def
cFreq cAngle {cSpot}
mFreq mAngle {mSpot}
yFreq yAngle {ySpot}
kFreq kAngle {kSpot}
setcolorscreen
h v translate
newpath
0 0 moveto
reproWid 1 add 0 lineto
reproWid 1 add reproDep 1 add lineto
0 reproDep 1 add lineto
closepath
clip
reproWid reproDep scale
{ currentfile token pop (binary) eq {exit} if } loop
wid dep 8
[wid 0 0 negDep 0 dep]
{ currentfile picStr readstring pop } false 4
colorimage
grestore
} bind def